package com.test.service;

import java.util.Map;

import com.test.common.Page;
import com.test.common.R;
import com.test.entity.SysRole;


/**
 * 系统角色
 *
 * @author luotuo

 */
public interface SysRoleService {

	Page<SysRole> listRole(Map<String, Object> params);
	
	R saveRole(SysRole role);
	
	R getRoleById(Long id);
	
	R updateRole(SysRole role);
	
	R batchRemove(Long[] id);
	
	R listRole();
	
	R updateRoleAuthorization(SysRole role);
	
}
